package com.gyh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gyh.entity.Course;
import com.gyh.vo.CourseVo;

import java.util.List;

public interface CourseService extends IService<Course> {
    List<Course> getAll();

    List<Course> getLatestCourses();

    List<Course> getPopularCourses();

    List<Course> getComprehensiveCourses();
    CourseVo getCourseById(Integer id);
}
